package com.example.hewei.smarttransport.Receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.example.hewei.smarttransport.Activity.SlidingMenuActivity;

/**
 * Created by 何伟 on 2017/3/8.
 */

public class LanguageReceiver extends BroadcastReceiver {
    private Intent mIntent;

    @Override
    public void onReceive(Context context, Intent intent) {
        mIntent = new Intent(context, SlidingMenuActivity.class);
        mIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        context.startActivity(mIntent);
    }
}
